package com.funo.logic.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

@Service
public class LogicArrangeService extends AbstractService {

    @Autowired
    private StringRedisTemplate stringRedisTemplate;

    public String getById(String id) {
        return stringRedisTemplate.opsForValue().get(getCacheKey(id));
    }

    @Override
    public String getCachePrefix() {
        return "logicArrange:";
    }
}
